package com.im.sso.api;

import com.im.common.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Created leijun
 * @Date 2021/11/7 12:01 下午
 */
public interface AuthApi {

    @RequestMapping("im/auth")
    Result authenticate(@RequestHeader(name = "Authentication") String token);
}
